Cache optimization

File compression

We support gzip automatic compression, which only supports specific MIME types (content type headers returned from the source). You can use the parameters in the white list to change the MIME types in the source and compress on demand on the CDN edge server. The white list is as follows:

text/compressible
text/html
text/xml
text/javascript
text/css
application/x-javascript
text/xml
application/xml
application/xml+rss
application/json
application/javascript
image/svg+xml
image/x-icon
image/vnd.microsoft.icon
application/x-font-ttf
application/[vnd.ms](http://vnd.ms/)-fontobject
application/x-font-opentype
application/x-font-truetype
application/x-font-ttf
font/eot
font/opentype
font/otf

"gzip_min_length" defaults to 1000.

Note that origin must include "Content-Type" in response header in order for the gzip feature to work.

LightCDN all right reserved,powered by GitbookUpdated Time: 2023-06-07 10:23:23

results matching ""

    No results matching ""